package com.hzdl.bean;

/**
 * 项目管理
 */

public class Project {

  private long id;
  private String pname;//项目名称
  private String address;//地址

  public Project(long id, String pname, String address, int company) {
    this.id = id;
    this.pname = pname;
    this.address = address;
    this.company = company;
  }

  private double rental_size;//可租总面积
  private double actual_size;//实际租凭面积
  private double expect_money;//应收租金
  private double actual_money;//实际租金
  private double rate;
  private long aid;
  private int company;
  public Project() {
  }
  public Project(long id,String pname,int company,String address){
    this.id=id;
    this.address=address;
    this.pname=pname;
    this.company=company;
  }

  public Project(String pname, String address, double rental_size, double actual_size, double expect_money, double actual_money) {
    this.pname = pname;
    this.address = address;
    this.rental_size = rental_size;
    this.actual_size = actual_size;
    this.expect_money = expect_money;
    this.actual_money = actual_money;
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }

  public String getPname() {
    return pname;
  }

  public void setPname(String pname) {
    this.pname = pname;
  }

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  public double getRental_size() {
    return rental_size;
  }

  public void setRental_size(double rental_size) {
    this.rental_size = rental_size;
  }

  public double getActual_size() {
    return actual_size;
  }

  public void setActual_size(double actual_size) {
    this.actual_size = actual_size;
  }

  public double getExpect_money() {
    return expect_money;
  }

  public void setExpect_money(double expect_money) {
    this.expect_money = expect_money;
  }

  public double getActual_money() {
    return actual_money;
  }

  public void setActual_money(double actual_money) {
    this.actual_money = actual_money;
  }

  public double getRate() {
    return rate;
  }

  public void setRate(double rate) {
    this.rate = rate;
  }

  public long getAid() {
    return aid;
  }

  public void setAid(long aid) {
    this.aid = aid;
  }

  public int getCompany() {
    return company;
  }

  public void setCompany(int company) {
    this.company = company;
  }

  @Override
  public String toString() {
    return "Project{" +
            "id=" + id +
            ", pname='" + pname + '\'' +
            ", address='" + address + '\'' +
            ", rental_size=" + rental_size +
            ", actual_size=" + actual_size +
            ", expect_money=" + expect_money +
            ", actual_money=" + actual_money +
            ", rate=" + rate +
            ", aid=" + aid +
            ", company=" + company +
            '}';
  }
}
